import json

from rest_framework import serializers
from . import models


# from zhaopin.serializers import ResumeSerializer_1


class PlayerSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.Player
        fields = "__all__"


class ChartsSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.Charts
        fields = ("score", "id")

        # exclude = ('player',)
